﻿using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;

namespace Repository
{
    public interface IUnitOfWork<T> where T : DbContext
    {
        T GetDbContext();
        void SaveChanges();
        Task SaveChangesAsync();
    }
}